package com.ityueqiangu.project.galleryinfo.service;

import java.util.List;
import com.ityueqiangu.project.galleryinfo.domain.GalleryInfo;

/**
 * @author Clever、xia
 * @title: GalleryInfoService
 * @description:
 * @date 2021-03-14 11:14:22
 */
public interface IGalleryInfoService {

    /**
     * 查询所有记录
     *
     * @return list集合
     */
    List<GalleryInfo> selectGalleryInfoList(GalleryInfo galleryInfo);


    /**
     * 根据主键查询
     *
     * @param id 主键
     * @return 返回GalleryInfo
     */
    GalleryInfo selectGalleryInfoById(Integer id);
	
    /**
     * 新增
     *
     * @param galleryInfo 新增的记录
     * @return 返回ResultInfo
     */
    Integer insertGalleryInfo(GalleryInfo galleryInfo);
	
	
    /**
     * 修改，修改所有字段
     *
     * @param galleryInfo 修改的记录
     * @return 返回ResultInfo
     */
    Integer updateGalleryInfo(GalleryInfo galleryInfo);
	
    /**
     * 删除记录
     *
     * @param id 主键
     * @return 返回ResultInfo
     */
    Integer deleteGalleryInfoById(Integer id);

    /**
     * 根据条件查询
     * @param galleryInfo
     * @return
     */
    GalleryInfo selectGalleryInfoByGalleryName(GalleryInfo galleryInfo);
}